package Day03;

public class Demo02 {

	public static void main(String[] args) {
		int sum=0;
		int [] a1= {22,66,44};
		int [] a2= {77,33,88};
		int [] a3= {25,45,65};
		int [] a4= {11,66,99};
		int [] [] arr1= {{22,66,44},{77,33,88},{25,45,65},{11,66,99,55}};
		for (int i = 0; i < arr1.length; i++) {
			for (int j = 0; j < arr1[i].length; j++) {
				sum=sum+arr1[i][j];
			}
		}
		System.out.println(sum);
	}
	
}
